package com.zjw.designPattern.listener.observer;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collection;

/**
 * @author yuxiaobo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FundOfferEvent {

    CommonPushMsg.Action action;
    Collection<? extends FundOffer> offers;
    FundOffer oldOffer;
}
